
package com.example.mapper;

import com.example.model.SysUser;
import org.apache.ibatis.annotations.Mapper;

@Mapper()    // 加注解，必须
public interface SysUserMapper {

    /**
     * @Description 根据用户ID查询用户信息
     * @Author chengjunyu
     * @Date 2022/1/24 11:06
     * @Param id
     * @Return com.example.model.Ccddata
     * @Exception
     */
    SysUser selectSysUserById(int id);

    /**
     * @Description 新增用户信息
     * @Author chengjunyu
     * @Date 2022/1/24 11:07
     * @Param sysUser
     * @Return int
     * @Exception
     */
    int insertSysUser(SysUser sysUser);

    /**
     * @Description 修改用户信息
     * @Author chengjunyu
     * @Date 2022/1/24 11:07
     * @Param sysUser
     * @Return int
     * @Exception
     */
    int updateSysUser(SysUser sysUser);

    /**
     * @Description 删除用户信息
     * @Author chengjunyu
     * @Date 2022/1/24 11:07
     * @Param
     * @Return int
     * @Exception
     */
    int deleteSysUserById(int id);


}



